package server;


/**
 * A generic task (basically a thread) the server can perform.
 */
public abstract class Service extends Thread {

	
	public Service(String name, int priority) {
		setName(name);
		setPriority(priority);
	}
	
	public Service(String name) {
		this(name, Thread.NORM_PRIORITY);
	}

	public Service(String name, boolean daemon) {
		setName(name);
		setDaemon(daemon);
	}
	
}
